This is the source for the static linked libraries used in Warsow, with
the settings we use for building them.
NOTE: if you opt to use MSVC project files, make sure that you compile static libraries 
with /NODEFAULTLIB (Ignore default libraries), Runtime libraries have to be 'Multithreaded' 
and 'Multithreaded Debug' for 'Release' and 'Debug' builds respectively. DO NOT use 'Multithreaded DLL'!

~ compiling zlib ~
1) open visual studio, locate the project file in zlib\contrib\vstudio\vc[v:9,10]\zlibstat.vc[x]project
2) go to the tools menu -> visual studio command prompt
3) in the command prompt, locate the zlib directory
4) type:
nmake -f win32/Makefile.msc clean

5) to compile with no ASM code, type:
nmake -f win32/Makefile.msc OBJA="inffast.obj" zlib.lib

To build optimized library:

x86:
nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" zlib.lib

x64:
nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.c" zlib.lib

6) locate and copy the zlib.lib file

~ compiling libjpeg ~
1) open visual studio,  go to the tools menu -> visual studio command prompt
2) in command prompt change current directory to libjpeg
3) type:
nmake /f Makefile.vc clean

4) type:

nmake /f Makefile.vc libjpeg.lib
to build debug configuration:

nmake nodebug=1 /f Makefile.vc libjpeg.lib
to build release configuration

5) locate and copy the libjpeg.lib file

~ compiling libcurl ~
1) open visual studio,  go to the tools menu -> visual studio command prompt
2) in command prompt change current directory to libcurl/lib
3) type:
nmake /f Makefile.vc9 clean

4) type:

nmake CFG=debug-zlib RTLIBCFG=static /f Makefile.vc9
to build debug configuration,

nmake CFG=release-zlib RTLIBCFG=static /f Makefile.vc9
to build release configuration

5) locate and copy the libcurl.lib file in either 'debug-zlib' or 'release-zlib' directory

~ compiling libogg ~
libogg/win32/VS2008/libogg_static.vcproj

~ compiling libvorbis ~
libvorbis/win32/VS2008/libvorbis/libvorbis_static.vcproj
libvorbis/win32/VS2008/libvorbisfile/libvorbisfile_static.vcproj

~ notes about openssl ~
Some libcrypto assembly files were pre-converted to make OpenSSL buildable without Perl.
Also the symlink paths in `include` were changed to real `#include` directives.
The build scripts for Android depend on these changes, make sure the above is applied when updating OpenSSL.
